package com.ggg.clothesshop.model;

import java.util.Date;

public class Orders {
    private Integer orderid;

    private Integer productid;

    private Integer userid;

    private Integer addressid;

    private Integer productnum;

    private Double productsize;

    private Date orderdate;

    private String orderstatus;

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getAddressid() {
        return addressid;
    }

    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    public Integer getProductnum() {
        return productnum;
    }

    public void setProductnum(Integer productnum) {
        this.productnum = productnum;
    }

    public Double getProductsize() {
        return productsize;
    }

    public void setProductsize(Double productsize) {
        this.productsize = productsize;
    }

    public Date getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(Date orderdate) {
        this.orderdate = orderdate;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus == null ? null : orderstatus.trim();
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderid=" + orderid +
                ", productid=" + productid +
                ", userid=" + userid +
                ", addressid=" + addressid +
                ", productnum=" + productnum +
                ", productsize=" + productsize +
                ", orderdate=" + orderdate +
                ", orderstatus='" + orderstatus + '\'' +
                '}';
    }
}